package com.example.webapp.service;

import com.example.webapp.bean.Exam;
import com.example.webapp.bean.StudentExam;
import com.example.webapp.bean.User;

import java.util.List;

public interface StudentExamService {
    void createStudentExam(StudentExam registration);
    void updateStudentExam(StudentExam registration);
    void deleteStudentExam(Integer id);
    StudentExam getStudentExamById(Integer id);
    List<StudentExam> findStudentExamsByStudentAndExam(User user, Exam exam);
}
